package main.java.com.controller;
import com.jfinal.core.Controller;
import main.java.com.model.UserModel;

public class IndexController extends Controller {

	public void index(){
		this.renderText("haha");
	}
	public void getUserbyID()
	{

		UserModel um = new UserModel();
		UserModel umreturn = um.getUserbyID(1);
		String strname = umreturn.getStr("user_name");
		this.renderText(strname);

	}
}


